package com.example.demo.game;


import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
@Data
//客户端连接到游戏房间后，服务器返回的响应   ；前端发来请求（ws://127.0.0.1:59090/game）后端就构造这个响应
public class GameReadyResponse {

    private String message;    //这个是消息的类型：例如：准备就绪
    private boolean ok;
    private String reason;
    private String roomId;
    private Long thisUserId;
    private Long thatUserId;
    private Long whiteUser;   //那个用户拿的是白子先手
}
